package cn.wolfcode.mapper;

import cn.wolfcode.domain.Brand;
import cn.wolfcode.qo.QueryObject;

import java.util.List;

public interface BrandMapper {
    int deleteByPrimaryKey(Long id);

    int insert(Brand brand);

    Brand selectByPrimaryKey(Long id);

    List<Brand> selectAll();

    int updateByPrimaryKey(Brand brand);

    int selectForCount(QueryObject qo);

    List<Brand> queryBrand(QueryObject qo);
}